package com.rlz.base.tools.factory

import com.rlz.base.base.BaseModel

/**
 * Created by RLZ
 * on 2021/5/17
 *
 */
class RepositoryFactory {
    companion object {
        @JvmStatic
        fun <T : BaseModel?> createModel(clazz: Class<T>): T? = clazz.newInstance()
    }
}